package com.grain.security.rbac.service;

import com.grain.security.rbac.dto.RoleInfo;

import java.util.List;

public interface RoleService {
    RoleInfo create(RoleInfo roleInfo);

    RoleInfo update(RoleInfo roleInfo);

    void delete(Long id);

    RoleInfo getInfo(Long id);

    List<RoleInfo> findAll();

    String[] getRoleResources(Long id);

    void setRoleResources(Long id, String ids);
}
